package com.bridge.applets;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * Application Entrance
 *
 * @author Myles Yang
 * @date 2021-05-01
 */
@Slf4j
@EnableScheduling
@ConfigurationPropertiesScan("com.bridge.applets.config")
@SpringBootApplication(scanBasePackages = {"com.bridge.applets", "com.bridge.common", "com.bridge.applets.config"})
public class AppletsApplication {

    public static void main(String[] args) {
        SpringApplication.run(AppletsApplication.class, args);
    }

}
